/*
 * @Author: Broin
 * @Date: 2021-12-12 10:50:08
 * @LastEditTime: 2022-01-02 21:54:55
 * @LastEditors: Please set LastEditors
 * @Description: 提供虚拟机实例，提供进入xterm的方法和上传、下载文件的方法
 * @FilePath: /ac_interface/src/utils/virtualMachine.js
 * MADE BY BROIN
 */


export default class VirtualMachine {
    constructor(name, IP, vmnormalpass, vmrootpass, type){
        this.name = name;
        this.IP = IP;
        this.vmnormalpass = vmnormalpass;
        this.vmrootpass = vmrootpass;
        this.type = type;
        this.ssh = null;
    }

    changeName(name) {
        this.name = name;
    }
}